package com.system.data.dao;

import com.system.data.model.JingdongFrequency830;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface JingdongFrequencyDao {
    @Select("SELECT * FROM `jingdong_frequency_830` WHERE wordVariety=#{variety}  AND wordSentiment='POS' ORDER BY `jingdong_frequency_830`.`frequencyWord` DESC LIMIT 30;")
    List<JingdongFrequency830> findJingDongFrequency(@Param("variety") String variety);
}
